import { Align, TableOptions } from '@/models/tableOptions'

export const tableOptions: TableOptions = {
  menu: true,
  align: Align.Left,
  cloumns: [
    {
      prop: 'id',
      label: 'ID',
      minWidth: 50
    },
    {
      prop: 'username',
      label: '用户名',
      minWidth: 80
    },
    {
      prop: 'email',
      label: '邮箱',
      minWidth: 120
    },
    {
      prop: 'nickname',
      label: '昵称',
      minWidth: 80
    },
    {
      prop: 'roles',
      label: '角色',
      minWidth: 80,
      slot: true
    },
    {
      prop: 'status',
      label: '状态',
      minWidth: 60,
      slot: true
    },
    {
      prop: 'createdTime',
      label: '创建时间',
      minWidth: 100
    }
  ]
}
